package com.lanyun.serviceimpl;

import com.lanyun.dao.SupplierDao;
import com.lanyun.pojo.Supplier;
import com.lanyun.service.SupplierService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SupplierServiceImpl implements SupplierService {

    @Autowired
    private SupplierDao supplierDao;

    //  用于订单采购 获取到所有商家的相关信息
    @Override
    public List<Supplier> getsuppliers() {
        return supplierDao.getsuppliers();
    }


}
